@import"./modules/reset.scss"; // 引用通用样式 
@import "./modules/header.scss"; //引入header样式
@import "./modules/footer.scss";//引入footer样式
// shopping页面CSS
main{
    width: 100%;
    min-height: 400px;
    background: #d1e4aa;
}
  main .shoppingMain{
      width: 1200px;
      margin: 0 auto;
  }
  main .shoppingMain section{
      display: flex;
      .shoppingMain{
          p{
              height: 50px;
              line-height: 50px;
              a{
                  color: #000;
              }
              a:hover{
                  color: #bfb0b0;
              }
          }
          
      }
      
  }
  .shoppingMain .header-nav{
    width: 1200px;
    height: 50px;
    background-color: #e0ebf5;
    color: black;
    margin:15px 0;
    border: 1px solid #ccc;
    td{
    text-align: center;
    border-spacing: 5px;
    height: 50px;
    line-height: 50px;
    margin-bottom: 15px;
    font-weight: bolder;
    }
    a{
        color: black;
    }
}

.cart-things{
    background-color: #fff;
    tr{
        height:145px;
        td:nth-child(1){
            color: #000000;
            font-size: 14px;
            width: 160px;
            height: 145px;
            text-align: center;
            cursor: pointer;
            i{
                display: block;
            }
            .select{
                display: none;
                width: 18px;
                height: 18px;
                margin-left: 68px;
            }
        }
        td:nth-child(2){
            width: 310px;
            height: 145px;
            a{
                float: left;
                color: #000;
                img{
                    height: 145px;
                }
            }
            span{
                display: inline-block;
                height: 145px;
                line-height: 145px;
            }
            
        }
        td:nth-child(3){
            width: 240px;
            height: 145px;
            span{
                display: block;
                width: 160px;
                height: 40px;
                text-align: center;
                margin-left: 20px;
                
            }
        }
        td:nth-child(4){
            width: 120px;
            height: 145px;
            text-align: center;
            input{
                width: 40px;
                height: 19px;
                border: 1px solid #ccc;
                float: left;
                color: #ccc;
                text-align: center;
            }
            a{
                color: #ffffff;
                font-size: 16px;
                width: 19px;
                height: 21px;
                float: left;
                background: red;
            }
        }
        td:nth-child(5){
            width: 180px;
            height: 145px;
            text-align: center;
        }
        td:nth-child(6){
            width: 190px;
            height: 145px;
            text-align: center;
        }
    }
}

.cart-money{
    width: 100%;
    height: 52px;
    background: #ffffff;
    text-align: center;
    margin: 15px 0px;
    margin-bottom: 100px;
    td:nth-child(1){
        input{
            display: none;
            float: left;
            margin-left: 23px;
            margin-top: 15px;
            width: 18px;
            height: 18px;
        }
        p{
            float: left;
            display: none;
            width: 125px;
            margin-left: 10px;
            font-size: 14px;
            color: #666;
            font-family: "微软雅黑";
            cursor: pointer;
            a{
                float: left;
            }
        }
    }
    td:nth-child(2){
        text-align: right; 
        span:nth-child(1){
            color: #666;
            font-size: 16px;
        }
        em{
        font-size: 20px;
        color: red;
        font-style: normal;
        }
        span:nth-child(2){
            color: red;
            font-size: 20px;
        }
        span:nth-child(3){
            color: red;
        }
    }
    td:nth-child(3){
        display: block;
        width: 100px;
        height: 50px;
        font-size: 20px;
        font-weight: 400;
        background: red;
        color: #fff;
        line-height: 50px;
        margin-left: 29px;
        a{
            color: white;
        }
    }
}
  
  
  .donBuy{
      width: 400px;
      height: 300px;
      margin: 0 auto;
      padding-top: 150px;
      display: none;
      .logo-a{
          float: left;
      }
      .donBuy-a{
          float: left;
      }
  }
  .donBuy .donBuy-a em{
      display: block;
      margin-left: 30px;
      font-size: 25px;
      margin-top: 50px;
  }
  .donBuy .donBuy-a a{
      display: block;
      background: red;
      width:150px;
      text-align: center;
      color: white;
      height: 30px;
      line-height: 30px;
      font-size: 20px;
      margin-left: 53px;
      margin-top: 10px;
  }
  .donBuy .donBuy-a a:hover{
      background:#f47171 ;
  }
  .change-check {
    position: relative;
    input {
      opacity: 0;
      position: absolute;
      top: 0;
      left: 0;
      &:checked+span {
        background: red;
        .check-item {
          display: inline-block;
        }
      }
    }
    .check-span {
      display: inline-block;
      position: absolute;
      top: 0;
      left: 0;
      width: 20px;
      height: 20px;
      border: 2px solid #ccc;
    }
    .check-title {
      position: absolute;
      display: none;
      left: 0;
      top: 0;
      width: 17px;
      height: 8px;
      border-left: 1px solid #fff; 
      border-bottom: 2px solid #fff; 
      transform: rotateZ(-40deg);
    }
  }
  